package com.TJGD.projectModule.dao.projectModule;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.TJGD.projectModule.pojo.pPerson;
import com.TJGD.projectModule.pojo.pPersonQuery;

public interface pPersonDao {
    int countByExample(pPersonQuery example);

    int deleteByExample(pPersonQuery example);

    int deleteByPrimaryKey(Long perosnId);

    int insert(pPerson record);

    int insertSelective(pPerson record);

    List<pPerson> selectByExample(pPersonQuery example);

    pPerson selectByPrimaryKey(Long perosnId);

    int updateByExampleSelective(@Param("record") pPerson record, @Param("example") pPersonQuery example);

    int updateByExample(@Param("record") pPerson record, @Param("example") pPersonQuery example);

    int updateByPrimaryKeySelective(pPerson record);

    int updateByPrimaryKey(pPerson record);
}